﻿using OrderStateMachineWebApi_V2.Models;
using OrderStateMachineWebApi_V2.Services;

namespace OrderStateMachineWebApi_V2.ServicesImpl
{
    public class CompletedState : IOrderState
    {
        public string StateName => "Completed";

        public CompletedState(Order order)
        {
            // Final state
        }

        public bool ProcessAction(OrderAction action)
        {
            // No transitions from completed state
            return false;
        }
    }
}
